package com.morningstar.qs.basic.db.constant;

public class SharingConstant {

	
	public enum MemberType{
		RECEIVER((short)0),
		SENDER((short)1);

		private final short value;
		
		private MemberType(short value){
			this.value = value;
		}
		
		public short getValue(){
			return this.value;
		}
	}
	
	
	public enum SharingStatus{
		UNREAD((short)0),
		READ((short)1),
		DELETE((short)2);
		
		private final short value;
		
		private SharingStatus(short value){
			this.value = value;
		}
		
		public short getValue(){
			return this.value;
		}
	}
	
	
	public enum UserSharingInfoColumn{
		SHARING_ID("sharingId"),
		SHARING_TYPE("sharingType"),
		SENDER_ADDRESS("senderAddress"),
		RECEIVER_ADDRESS("receiverAddress"),
		CONTENT("content"),
		CREATE_TIME("createTime");
		
		private final String value;
		
		private UserSharingInfoColumn(String value){
			this.value = value;
		}
		
		public String getValue(){
			return this.value;
		}
	}
	
	
	public enum SharingMemberColumn{
		SHARING_ID("sharingId"),
		MEMBER_USER_ID("memberUserId"),
		MEMBER_TYPE("memberType"),
		MEMBER_ADDRESS("memberAddress"),
		SHARING_STATUS("sharingStatus"),
		CREATE_TIME("createTime");
		
		private final String value;
		
		private SharingMemberColumn(String value){
			this.value = value;
		}
		
		public String getValue(){
			return this.value;
		}
	}
	
	
}
